home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EuroCD 3
/
EuroCD 3.iso
/
Programming
/
Amos
/
AMOSList-0198
/
AMOSLIST
/
000087_amos-request@svcs1.digex.net_Mon Jan 19 19:37:39 1998.msg
< prev
next >
Wrap
Text File
|
1998-06-24
|
5KB
|
116 lines
>From amos-request@svcs1.digex.net Mon Jan 19 19:37:39 1998
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by pony-1.mail.digex.net (8.8.8/8.8.8) with ESMTP id TAA21310
for <mcox@access.digex.net>; Mon, 19 Jan 1998 19:37:38 -0500 (EST)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id QAA09487
for amos-out; Mon, 19 Jan 1998 16:40:09 -0500 (EST)
Received: from pony-1.mail.digex.net (pony-1.mail.digex.net [204.91.241.5])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id QAA09484
for <amos-list@svcs1.digex.net>; Mon, 19 Jan 1998 16:40:08 -0500 (EST)
Received: from mailhost.sosbbs.com (sosbbs.com [204.186.168.100])
by pony-1.mail.digex.net (8.8.8/8.8.8) with SMTP id QAA05123
for <amos-list@access.digex.net>; Mon, 19 Jan 1998 16:40:00 -0500 (EST)
Received: from gbenjam (204.186.168.67) by mailhost.sosbbs.com
(EMWAC SMTPRS 0.81) with SMTP id <B0000182266@mailhost.sosbbs.com>;
Mon, 19 Jan 1998 16:37:38 -0500
Message-ID: <B0000182266@mailhost.sosbbs.com>
From: "Garfield Benjamin" <gbenjam@sosbbs.com>
To: "AMOS MAILING LIST" <amos-list@access.digex.net>
Subject: Re: A lot of questions... :-)
Date: Mon, 19 Jan 1998 16:47:50 -0500
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Status: O
X-Status:
Hello. I'll take a few of these questions...
> - How good is Blitz Basic? Is it a big difference from AMOS?
Go to my webpage (see below in my signature). Click on the
AMIGA-link then click on the AMOS-link. Download the archive
containing "the AMOS&BLITZ demos". It's nothing spectacular,
but it will allow you to see first hand how well the two languages
perform. Also, you can read my views of AMOS and BLITZ (go
to the BLITZ-page).
> - Can I include C and / or assembler source and / or compiled
> programs into my AMOS programs in any way?
Source, no. Executable, yes. BLITZ allows inclusion of both
source and excutable Asm. Also very easy to convert from C to
BLITZ...
> - Are there any programming language similar to AMOS on the
> PC? Or any header file for C with AMOS similar commands?
> (I'm not talknig about Windows crap now :-))
See message I posted to list VERY recently:
Subject:"If you MUST have AMOS for PC then READ THIS!!"
Hmmm... you are on the AMOS-list, right? If not, and you didn't
receive that previous message, drop me a quick line and I'll give
you the URL for a PC AMOS...
If you want to use C then check out the Allegro game library. It
contains loads of powerful commands for MIDI, WAV playing,
bitmaps, palettes, sprites, scrolling, etc. It really "ROCKS!!!"
Go to my IBMclone page and you can download two simple demos
I created with C/Allegro:CrzyStar and BOBdemo.
> - Are the bob routines reely this bad??? Yesterday I changed
> the background under a bob (with a bar) and then moved the
> bob... guess what happened... nothing (exept a small flicker
> the backgound was just the same as before)...
Well, the bobs might be considered "bad"... but, that's not the
cause of your problem. Chances are, you're trying to do the above
without shutting down AMOS's automatic bob-update system.
Try something like this (after opening your screen and in place of
your current "loop"):
Double Buffer : Autoback 0 : Bob Update Off
Amal Off : Synchro Off : Sprite Update Off : Flash Off
Rem the first thing I do in my AMOS-coding: Kill all that junk!!
Now, we can begin...
ALLDONE=False
Repeat
Bob Clear : Rem ... Remove the Bobs
Ink Rnd(31) : Rem ...Select a Random Colour
Bar 80,100,y1 to 239,155 : Rem ...Draw the Bar
Rem Update your Bobs position here...
Bob Anumber, Xpos, Ypos, AnImageNumber
Bob Draw : Rem ...Now Redraw the Bobs
If (Fire(0) Or Fire(1)) then ALLDONE=True
Screen Swap : Wait Vbl
Until ALLDONE
The key is to do all your background modifications (in your case,
using the Bar command) between the Bob Clear and Bob Draw
statements.
Hope this helps!!
Take care,
GARFIELD
-------------------------
Current projects...
SuperStarStrike98(AMIGA&IBM):15% complete(...5 days)
-->New screen-shots are on my GAMES page<--
"Studying" POVray-coding(IBM): 20% complete
Website( http://www.sosbbs.com/~gbenjam ): 40% Complete